Added a test for nestedsingle control