Remove repeated logic from unit tests
Remove repeated logic from unit tests

SimenB/backbone.layoutmanager,tbranyen/backbone.layoutmanager,SimenB/backbone.layoutmanager,huang-x-h/backbone.layoutmanager,tbranyen/backbone.layoutmanager,huang-x-h/backbone.layoutmanager,GerHobbelt/backbone.layoutmanager