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