Add tests for boundary conditions in GetBytes.
Add tests for boundary conditions in GetBytes.

(cherry picked from commit d5dae59b212297d58978e033cefb3d3715bfa8a9)

mysql-net/MySqlConnector,mysql-net/MySqlConnector