functional test added.