clean up and test physicaliam