Fixed empty function in tests