a test file and deal with null values