fix tests
downgrade rack for rails 2 build