Add test for matching route when controller and name are present

Please review @incuna/js