Test else side of function