fix for issue #1144

Me too :) 
Fixed your test to work with both backends.