Add rate constructor test

see https://github.com/ros/roscpp_core/pull/26