Add tests for build process