Added tests
Updated ResultAdapter.php after added tests