add more test code for Container, FontManager, AbstractButton, but not complete
re-format the source code