added invalid messages to test