Fix some debugging output
Fix out-of-bound substrings operations
Fix the race conditions in the CRUD test, remove the ugly Lwt_unix.sleep