dbox test code