Build controller tests

As mentioned above, we should likely set it to build.BuildError and stop processing the build.