fixed testNullInstance