Adds write before test on vim spec mappings