Modifications of test cases and String id to int index.
Still debugging. Test cases are not correct.
Methods require overhaul.