Set of tests for functional utilities.

@rtm Please review. Thanks.