Code cleanup.
Add rack-test.