add global as a dev dependency

this is needed for tests to work