Set defaults when stubbing functions