Added test case for when message has no subject