Added cons. of mass test and run function