Fixed Errors, Fixed std [] not const

Fixed error in format_test.cc, () instead of <>
Fixed error because std operator[] not const, use at instead
TODO: fix template overload is ambiguous