[PATCH v7 5/6] tests: Test CreatePipelineState().