should also test that out == return value of func(...) without an out argument