Doing functional tests