having the option not to use indexes and fixing taskqueue unit tests