Cleaning test routine