Add debug output to ResMgmtTest

I have no idea why it's failing on Travis