Ok, the answer to this question is: I need a namespace in the class.
In composer.json
"psr-4": {
"SplitTest\\": "app/library/SplitTest/"
}
Then called the class as follows:
$class= "//SplitTest//Variant";
$s = new Variant();
$nc = new $class();
psr-4,
php artisan dump-auto