stubbing now unshifts instead of pushing onto the stubs array, so that new stubs override existing ones