Add test for custom path to underscore in amd wrapper