Added unit tests and integration tests for Organizations