test: test return value with omission