updated test case, updated route method