Test stubs for API authentication
user
```ruby
require 'test_helper'

class ApiAuthenticationTest < ActionDispatch::IntegrationTest
  fixtures :all
  
  test "authentication should fail with and old token" do
    flunk
  end

  test "authentication should fail with an invalid hash" do
    flunk
  end

  test "get account history in XML using API" do
    flunk
  end

  test "post a trade order using XML API" do
    flunk
  end

  test "post a trade order using JSON API" do
    flunk
  end
end
```
assistant