add tests for D5