Levi code test