remove duplicate setAppliedClasses function
allow setting classes in the test case