Test dpa class