unit test for run loop for darwin using Core Foundation

basic code only, need to add unit test code