Add tests for presence of sourcesContent