Testing console log for index of curly bracket.