Refactor: reduce branching and simplify logic
Change fixtures/mocks dir to integration dir
Refactor: mockStdin takes path to mock file