These tests seem fairly pointless, the string.is_space() function is fairly well understood.