solve problem with test