Added algorithm testing functionality
Removed old function