Resolved issue: 647

 CriteriaQuery don't support "$type"
Unfortunately checking in an Ignored test is almost as bad as not creating a test in the first place. This test doesn't pass, therefore it does not prove the functionality has been implemented correctly.