unit tests in D