Added tests for ResultAdapter