Added ptests