Add bit more checking in new attribute tests