Update algorithms_test.exs