Merging Win32 and Linux unittests and add Message validation

Change-Id: I66df122741dbdfb14d7ea080672dfbaf10f87cd6
Signed-off-by: Vinzenz Feenstra <vfeenstr@redhat.com>