Added tests for Subjects fields

Fixed errors as a result of running tests.