Update editor markdown tests

PR affects tests only

closes #1299 

- update tests to check for full strings with spaces now that this is no
  longer an issue
- reorganise duplicated test for images