Move chunk reading to storage
Add a test for chunks
Improve the general status of tests