The tests and routes were refactored.