FromRaw / Raw and tests