adding some unit tests to ensure options are overridden as expected