Fix broken test in application