Extensions doesn't have to start with a dot, spl_autload() will simply append whatever you supply to the basename. The following example will try to load "test.php" first, and "test/index.php" as well:
spl_autoload_register('.php,/index.php');
spl_autoload('Test');