Override core and npm modules with mocks. Closes #34