Remove circular dependency.
Make the test more deterministic
Remove extra whitespace
Add copyright notice to the file
Put back unregister for the publisher and clarify the reconnect behavior
of the test case. The exponential backoff of the client causes hard to
understand timing of the events.

All specs passed locally on hydro:

SUMMARY
 * RESULT: SUCCESS
 * TESTS: 103
 * ERRORS: 0
 * FAILURES: 0
Merge pull request #111 from syrnick/test_improvement

Test improvement
Update .travis.yml and package.xml for rosbridge_library tests
Merge pull request #112 from syrnick/fix_all_tests

Fix all tests
map Inf and NaN to null

JSON does not support Inf and NaN values. Currently they are just written into the JSON and JSON.parse on the client side will fail. Correct is to map them to null which will then be parsed correctly by JSON.parse on the client side.
The issue with that is that the shortcut for lists of floats might be impossible (maybe someone else with more experience in python comes up with something else?). Maybe something similar is necessary in the to_inst case, but I can not really test them.

Real world application is to process laser scans, they contain inf and nan values for some drivers if the measurements are invalid or out of range.
something messed up indentation

not sure how that could happen, worked here.
update ROSBRIDGE_PROTOCOL.md to reflect how rosbridge_server currently handles many-to-many topics

Advertising of, and publishing to, many-to-many topics is currently supported in rosbridge_server. This reflects the supported behavior in ROS itself
Merge pull request #117 from T045T/develop

update ROSBRIDGE_PROTOCOL.md (many-to-many topics)
Fixed typo in raising type errors.
Merge pull request #118 from jon-weisz/develop

Fixed typo in raising type errors.
Merge pull request #116 from Garfonso/patch-1

map Inf and NaN to null
Windows-related fix for PIL Image module import
Merge pull request #119 from JonathanWade/pilwinfix

Windows-related fix for PIL Image module import
Handle float infinity and NAN s
Merge pull request #120 from RobotWebTools/float_inf_handling

Handle float infinity and NAN s
make rosapis use absolute namespace