fix test-asserts containing nils