Merge branch 'phil/consolidate-repo-tests' into 'master'

Consolidate templated source tests

See merge request BuildStream/buildstream!1215