GetBytes unit tests
InvalidOperationException when buffers is null