Added third test with nested cases