Adding unit tests for Crowd endpoint