#26: added tests for rest_pathname.
#26: removed incorrect comments.
#26: added tests for rest_connector.