update the source path handling in the test class