Tests for users, organizations [fixes #78, #49, #86]

There are still no tests for message controller