Run functional tests