Test if attributes exists
Fixing typo in tests