eUnit tests for the debug handler to make sure we have accurate state transistions and status reporting.