Improve coverage of MassMessage::getDBName()

Change-Id: I8ca0c761e15a4c6f2aab492c9df0817243c9ee3b