Initial import hook and basic tests