add test for SourceParser