Add tests on null values

Add tests with null values stored in variables