API tests: rewrite test to ensure API stability

Let's test the fact that we don't need to send type/name in individual
comment entries for PATCH.