Kdb Date type and tests.
Applied hlint over tests.