Wrote scenario and test for thumbnail galery to check if the tab is expanded.