shortest way test