Renamed test and make sure options is an object before overriding defaults