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