Created mocks module in test subpackage. All logic gate tests are finished and pass.