fixed test bug noted by chuy2412