PLe with integrated testing