Added test case for tabs class and fixed the sort order for tabs class since it crashed