Added tests to build script.