Test bug fix

- test should use testing config, not development config. If you run the tests whilst also running the dev server, the tests fail.
Improvements to date handling in post settings menu

issue #1350, #1351

- make sure we don't fire save if the date hasn't changed - and removes a few errors