fixes route controller unit tests