lapd: Extend the test to check if lapdm_channel_exit is idempotent

I have a crash with an older libosmocore and the sysmobts. I
am not sure how we can have a release for a channel where the
lapdm_channel has not gone through lapdm_channel_init. But to
prevent the crash we can promise lapdm_channel_exit to be idempotent.

It has been idempotent since f5a079f739c57d8be7c59149fd45475c402a45fc
diff --git a/tests/lapd/lapd_test.c b/tests/lapd/lapd_test.c
index 1f986bc..37c0db8 100644
--- a/tests/lapd/lapd_test.c
+++ b/tests/lapd/lapd_test.c
@@ -344,6 +344,10 @@
 	/* clean up */
 	lapdm_channel_exit(&bts_to_ms_channel);
 	lapdm_channel_exit(&ms_to_bts_channel);
+
+	/* Check if exit is idempotent */
+	lapdm_channel_exit(&bts_to_ms_channel);
+	lapdm_channel_exit(&ms_to_bts_channel);
 }
 
 static void test_lapdm_early_release()
@@ -372,6 +376,9 @@
 
 	/* clean up */
 	lapdm_channel_exit(&bts_to_ms_channel);
+
+	/* Check if exit is idempotent */
+	lapdm_channel_exit(&bts_to_ms_channel);
 }
 
 static void test_lapdm_contention_resolution()
@@ -415,6 +422,9 @@
 
 	/* clean up */
 	lapdm_channel_exit(&bts_to_ms_channel);
+
+	/* idempotent */
+	lapdm_channel_exit(&bts_to_ms_channel);
 }
 
 int main(int argc, char **argv)