Add tests for build file choice