Add tests for negative indices and add todos