SERVER-12786: make tests work in compatibility shell write mode