Adds p12 and its test.