Fixed a issue in RTargetPrefix::FromString. Add unit tests for prefix and table