Re-factored menu bar to include debug test all function.