InMemoryPipeline is now created by Builder

Updated affected tests.

Also: formatting fix. Some pipeline invocations looked crazy.

Done in pair programming with Alexey.
Added comment about provider's thread-safety.