add tests for replace_one and update_many