Add tests for build script and code comments