fixed bug in instid translation from main to tools
updated test tools to use uuids