Only check commonlib, don't try to split the response into segments (as @mhl points out, the case where the initial character is a space is somewhat confusing), just grab the first character of the whole string and check it against expected values.