Change KanbruObject build_attribute signture
Add tests for the routes helper module