Fixed the remaining test after the refactoring.