Added test for hash module and pipeline. Renamed TestPipeline and TestModule to FakePipeline and FakeModule.