Fix various issues in the test suite

There were several tests written in ways there were either inconsistent with Dust's parameter rules, with formatDate or just failing in IE 7 (a trailing comma).