Fix offline tests by adjusting deps