Added tests for Result.php