fixing some test errors