Added a test for nestedsingle critieron id