move unit-test module under main module, follow tornado's tradition.
pivot implementation with basic test-case