Bumped npm version. Updated deps.
Added test to ensure contains() behaviour is correct.