Added $ terminator for datetime literals, plus fixed a couple of tests that contained datetime literals