Added unit test to test the get functionality with help of the Criterion
interface.