Add wrapper for clWaitForEvents + add test + test pass + no leaks