Revert "Add test code"
Added test code for attributes