And you're saying you can't test on DeSmuME because it can't load a ROM?
To me, it sounds like you could hardcode a small homebrew ROM into the compiled .nds, and DeSmuME should be fine with that.
what about Hard-Coding just a Hello, World gba homebrew into the binary and test if that will run