added wipe option to build test script