Fixed regex for url reverse. Added tests for ToroUtil