Added test for compiler.js