working on goal functional tests