Add tests for read counting