Added a test for dump.js