Found some more null pointer errors in tests during compilation