Regression test for issue #354
routes can't be created with an object that has no id