tests: Add tests for GDebugController

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>

Fixes: #1190
11 jobs for 1190-debugging-docs in 15 minutes and 41 seconds (queued for 5 seconds)