Fixed documentation of test case
Added tests for out argument of read