Added test for downloading with buffer

Adds tests for #13, which seems to work without any changes at all