Cleaning functional tests