Merge in the subject list testing, input image dimension checks, and unit test