fixed console and import tests