Updated test code for 'client.send_range_to_server' method.

Added 'constants.py' file in order to gather common constants
in one place.