Better tests for SourceSpec.