Add ZLoopTest to test timer and socket handler