Properly initialized options for testing search

- Changed `options_mock` to an `options` object built from
  `parse_args`, to properly initialize default options.