Add example for lorem methods in JP

related #271