Break a circular reference in test cases.
Change date format.
Merge pull request #39.
Added missing error reporting to test cases.

The error was simply output as a test message.
first HKD draft
Merge remote-tracking branch 'nando/master'