Simple algorith tests