removed incorrect null checks in tests
0.4.1