adding tests for options passing to instance
extending the options object correctly