made scribe client non blocking, and added some unit tests