Fixed returned value by keyedInstancesWhere:
Added test for keyedInstancesWhere:
Merge pull request #64 from benoitsan/master

Fix for returned value by keyedInstancesWhere: