Added Integration Tests and change to model

Minor change to Organization model
Added some minor integration tests to test repository functionality