Added functionals tests