Added a test file for algorithms