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