Update mapping-tests.js

Changed function to camelCase