with functional tests