pretest: fix result return