fixed some test problems