Functional tests to EPICS control systems