Remove two unused variables in DSUBU.java

Also add a simple unit test for DSUBU.