more unit tests on FormPanel