XStyleLoader2 loadStylesFromDocument - unit tests

Change-Id: Id143689f573e6f8585db9bc48a252e311ff0e721