created deterministic test for nulls