quick simplification and adds tests for DebugDataSubmitter