Add unittest to pagerbot name parsing