Fix test error

Return error is now a fragment. The test must reflect that change too.