updated build script to compile and run unit tests