functional tests added