remove offending attributes from test cases