added tests for various algorithms