added specs to ensure exceptions in string utils cutStringAt functionality