restored test message functionality