add tests for message that has no key