functional test added