Fixed a bad 'let' statement when calculating TPS (tests per second) in string functions.
Changed from the Switch module to the feature 'switch' added in perl 5; used the given-when syntax obviously.  Fixes #7.