added failing test for options not being merged correctly
using array_replace_recursive to fix options not being merged nicely