Vaše where klauzule vrátí všechny řádky, kde je tester neodpovídá username AND kde tester není null.
Pokud chcete zahrnout hodnoty NULL, zkuste:
where tester <> 'username' or tester is null
Pokud hledáte řetězce, které neobsahují slovo "username" jako podřetězec, pak like lze použít:
where tester not like '%username%'