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