Added clean build switch --clean to singletest script