Fixed routing errors in controller spec

Please review and merge this PR before #9 and #10, which included the same fixes.