Added tests for TagResultAdapter.php