Fixing tests against attributes