Enhance remote_actor() unit tests

This pull request adds a test for the function `remote_actor` when using the `std::string` overload.