Compiler chain class and tests