fixed path problems
added basic export test