Passes Hook parameters as $options array and defines test docroot