added threaded test for async writer
fixed comments in the header file