Try using after_script for running functional tests