Add test case for NH3455.

Bug fix for https://nhibernate.jira.com/browse/NH-3455