fixes tests by creating a mock struct around driver options

Signed-off-by: Simon Thulbourn <simon+github@thulbourn.com>