modified test to compile template classes together with required classes
(having same prefix)