closing buffered reader after completing test.