tests: add test for bogus NULL definition