add another null value test, simplify thrown error message