Add test for Core/Exception.php