#650 Fixed clone page tests, changed logic of saving access rules