NH-3253 (3.3.x): Test case and fix suggestion.

<a href="https://nhibernate.jira.com/browse/NH-3253">NH-3253</a> (3.3.x): Test case and fix suggestion.
please change to .TryGetValue instead of pair of ContainsKey and Indexer