Add tests for debug analyzer