making some functionals tests