Added unit test for Router to check for correctly finding controller
whether using underscores or namespaces. Two function are 
added to ease testing.