Add test case for NH3455.

#### Not ready for merge
Bug fix for https://nhibernate.jira.com/browse/NH-3455