fixed tests for new algorithms