cont::drop_while and cont::take_while and tests