Failing test to cover the potential bugs caused by only shallow-cloning the options object