fix tests, fix NewPublicDeterminer initializer