fix reading of import for corkami test