Add tests for PrecompileCommand