#43: Fixed simple algorithms tests.