Port test cases to Pilar v3.