switch to pytest; move asterisk stuff