fixed broken tests, moved export line in occ_search