and_return(false) has been evaluated as no "and_return" expectation

Being explicit when checking for nil solves the issue