Adds require.resolve with tests.
travisplexer: pr-553-linux travis ci test