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