Added sanity test to build script.