Test5 with Cost = 1: passed