Fix specifying subject as a parameter
I noticed that 'subject' was in the API spec, but didn't work; it was always overridden by the message template subject.
I added a failing test, then a fix.
In order to add the test, I needed to assume that !22 (merged) gets merged. i.e. this is actually a very small PR.