algorithm visualization tests