functional tests pass