Added dictionary tests
Optimized comparer encapsulation