Improving regexes in functional tests

- being more explicit about what resources we expect to load after saving
  a post
- should prevent #1839 from failing tests
Merge pull request #1857 from ErisDS/regex-test-fixes

Improving regexes in functional tests