First attempt at attribute tests (probably buggy)