code test with libft