updated test cases to include some user interface tests
modified function for creating collapsible panel to take an object instead of a list of parameters