A space in a token does not produce a valid token. And any constructor with a string to parse that does not produce at least one token throws an error. I'll write a test combining all the various types of valid tokens at once and test the resulting message. That should cover the "space token" producing the correct value when it doesn't throw.