Add a test for null pointer when loading navigation app preferences