Added test case to instantiate generated message class.