test with jcomponent