finish test and clean up