tests: add more tests of negotiation example