add tests for expected layout of files in repo

References: #4914