added testing to build script