Complete insertClient and tests

insertClient now passes a client back to the success block.
Add  insertClient test and reformat ClientManagerTests