Edit: I have it! I think you have to change the backslash (\) to a slash (/).
<?php
require_once('SplClassLoader.php');
$loader = new SplClassLoader('Lib', 'Oram/Lib');
$loader->register();
use Oram\Lib\Classes\Test;
$test = new Test();
?>
Take a look on [this][1].
Try that. I have added a \ before your namespace. That could be the answer:
$loader = new SplClassLoader('Lib', '\Oram\Lib');