added compile test and fixed its failure

This test is only executed if Test::Compile is available. The test detected a minor syntax error in the .pm file.