Backport array support for testAction()

Backports array support for testing actions - https://github.com/cakephp/cakephp/pull/5411
Makes upgrading to 3.x then smoother.

Also fixed the first argument, as it should not default to empty string (must be set):

    protected function _testAction($url, $options = array()) {}