Added some basic close event tests

Also removed some code around read streams that isn't used anymore. :rocket: