Test the capability reply

There are no test cases that actually check that it is possible to parse
the capability reply. Add the missing test cases.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>