using availableTasks where needed
added tests for isTaskHidden, availableTasks & hideTask