Fix bug in PipelineTest

When using CreateInstance<T> to obtain a value, the IsAssignableFrom
arguments were the wrong way round