Add "dpend" method unit test.