fix problems with test tuning