The test should probably be using the actual array access syntax rather than the methods created to support array access.