Added resource for UsersToSubjects and fixed a bug in subject_resource_test.py