Copy functional tests from the php project