Add suffixes function and fix prefixes test.