Given program test failed on null type