Add a decent test for build(). Closes #4