Add test for Compiler class