Adjusting test to show array out of bounds exception