added test for c_void_p