removing support for require() on server side to avoid monkey patching require() permanently. adding tests.