Test setting of options via constructor