fix tests to adapt to multiple values

This pull request fixes the test against the new protocol allowing multiple-valued return.