chore(functional): add clean script to functional tests