[Fixes #22] Setting undeclared attributes doesn't work and added tests
Merge pull request #24 from SocialEngine/develop

[Fixes #22] Setting undeclared attributes doesn't work and added tests