Added tests for routes