Split callbacks, loops and pub sub to their own test cases
Fix failing Client#loop_forever test case