added test to upto to catch mean