* fixes to index replication action in IndexController
* added relevant tests