TESTING: added test case for string out-of-bound exceptions!