Now export baseline to file when leeching. Sync tests still not fully working.