Test migration to truth0
use final fields where possible
use Logger instead of System.err