Fix callin new Base() api.
Add more unit tests.