Removing createSubject declaration out of tests