[pl] add a test case