add another test to make sure remove_nils some_method does not raise an error