tests custom messageBuilder