tests for null types