fixing test problems