Implementing Compiler.test() using compiler plugin