modified test to work with random msg string