added small unittest for peth