Bug 10644: add unit tests for ClassSource.pm