Tests for getbeforeandafternamesabsolute