Native Criteria core - unit testing