Added tests for routing