create test class for algorithms (leonpart)