resolved some test errors