Last stable version with consumer/client split
Add unit tests for the GetRecords function (#64) A closed shard returns the last sequence number and no error. The current implementation leads to an infinite loop if the shard is closed. NextShardIterator checking is enough. That's why I remove the getShardIterator call