began to implement pytest tests.

- converted tests for read
- converted tests for seek
- converted tests for write