Fix readStream on empty streams, make the previously added test pass. Also fix the same issue in AsmTest.