Removed username as a parameter to GetInputMessage
Added test example for Wm.GetMessage