Add subject unit tests