fixed a test for baseComponentPanel