tests: fix generic closure marshalling tests
tests: fix generic closure marshalling tests

We're testing enums here, not flags, so we need to make sure
we're trying to send enums through the marshalling.

https://bugzilla.gnome.org/show_bug.cgi?id=659881

justinkb/aosp-bluez.glib,darren-clark/android_platform_external_bluetooth_glib,cosimoc/glib,pstglia/platform-external-bluetooth-glib,Distrotech/glib,iConsole/Console-OS_external_bluetooth_glib,mzabaluev/glib,bluez-android/glib,johne53/MB3Glib,ieei/glib,Distrotech/glib,ieei/glib,bluez-android/glib,darren-clark/android_platform_external_bluetooth_glib,cention-sany/glib,01org/android-bluez-glib,ieei/glib,gale320/glib,antono/glib,krichter722/glib,ieei/glib,cosimoc/glib,cention-sany/glib,cosimoc/glib,djdeath/glib,endlessm/glib,tamaskenez/glib,justinkb/aosp-bluez.glib,tchakabam/glib,mzabaluev/glib,tamaskenez/glib,justinkb/aosp-bluez.glib,krichter722/glib,MathieuDuponchelle/glib,lukasz-skalski/glib,pstglia/external-bluetooth-glib,cosimoc/glib,krichter722/glib,pstglia/platform-external-bluetooth-glib,tchakabam/glib,bluez-android/glib,mzabaluev/glib,johne53/MB3Glib,pstglia/platform-external-bluetooth-glib,Distrotech/glib,mzabaluev/glib,Distrotech/glib,endlessm/glib,justinkb/aosp-bluez.glib,iConsole/Console-OS_external_bluetooth_glib,bluez-android/glib,ieei/glib,johne53/MB3Glib,gale320/glib,tamaskenez/glib,djdeath/glib,01org/android-bluez-glib,gale320/glib,iConsole/Console-OS_external_bluetooth_glib,MathieuDuponchelle/glib,iConsole/Console-OS_external_bluetooth_glib,pstglia/external-bluetooth-glib,johne53/MB3Glib,johne53/MB3Glib,krichter722/glib,MathieuDuponchelle/glib,Distrotech/glib,pstglia/platform-external-bluetooth-glib,tchakabam/glib,MathieuDuponchelle/glib,antono/glib,lukasz-skalski/glib,cosimoc/glib,tamaskenez/glib,01org/android-bluez-glib,johne53/MB3Glib,tchakabam/glib,darren-clark/android_platform_external_bluetooth_glib,djdeath/glib,lukasz-skalski/glib,tchakabam/glib,pstglia/external-bluetooth-glib,gale320/glib,01org/android-bluez-glib,01org/android-bluez-glib,darren-clark/android_platform_external_bluetooth_glib,pstglia/platform-external-bluetooth-glib,lukasz-skalski/glib,darren-clark/android_platform_external_bluetooth_glib,bluez-android/glib,mzabaluev/glib,djdeath/glib,tamaskenez/glib,pstglia/external-bluetooth-glib,antono/glib,cention-sany/glib,endlessm/glib,gale320/glib,pstglia/external-bluetooth-glib,iConsole/Console-OS_external_bluetooth_glib,endlessm/glib,krichter722/glib,cention-sany/glib,justinkb/aosp-bluez.glib,endlessm/glib,lukasz-skalski/glib,djdeath/glib,MathieuDuponchelle/glib,antono/glib,cention-sany/glib