unit test and url mapping