Add missing wrong command type test
Refactor tests

Also catch an untested case, didn't test server message type on replies,
which was not set.
Run all command tests with sha3_512 and 16 byte macs

This in addition to the sha3_256 and 8 byte mac tests.