fixing tests with bad data and assertions