Functional test implementation.