Removed unneeded test, added attr_accessible