Legend test