PFSELFTEST improved with sparse encoding checks.