'Common set up for has_changes tests below.
Returns a dictionary of useful location maps for testing.'

def setup_has_changes(self, default_ms):

    self.initdb(default_ms)
    self._create_block_hierarchy()
    locations = {'grandparent': self.chapter_x, 'parent_sibling': self.sequential_x2, 'parent': self.sequential_x1, 'child_sibling': self.vertical_x1b, 'child': self.vertical_x1a}
    self.store.publish(locations['parent_sibling'], self.user_id)
    self.store.publish(locations['parent'], self.user_id)
    return locations
