more algorithm testing