Tester class for a d-ary heap