Adding jasmine tests for Subject