added more tests, updated index to use ctrl.tabs