test getSourceCode