Fixed some GenericObject indexing issues; new test for String indexing
problem.