Added test case for bad attrs