Proper tests for `getPublicSuffix` and better implementation.