Refactoring Date package tests to allow local running of tests.