Added attr tests.