Fix autocomplete in unittest blocks