Add test to check if variable is null