Add PTree tests