allow to decide if to check dependencies for exported modules,
add more tests for exports