test/bpf: add test-case for function return value