Added test for doc_ids based replication
Bump version to 0.5.2