gradle script for running functional test