replace all sample_app with arxivtab
refactored to arxivtab and all but one test passes