Fixed problem when writing backwards and when getting to zero position within a chunk all data written to chunk except last portion was getting lost. Also current test will probe that situation