fix spec tests so they actually check what they are supposed to be checking