dates/unit-tests.js added