functional tests for app