adding more tests for sidebar.hide(), which now returns a promise