Added test to ResultAdapterTest.php