Add test_package for pubsub and cxx_shell, add missing requirement for rapidjson.