Remove two unused variables in DADDU.java

Also add a simple unit test for DADDU.