Fix breaking test, but fixing mock