Fixed PatomicTest issue