Moved functional tests to a new module.

AFDP-120