NH-3415
Added unit test
Merge branch 'NH-3415' of github.com:rjperes/nhibernate-core into rjperes-NH-3415
Formatting cleanup.
Merge branch 'rjperes-NH-3415'