WIP: Simplify testing for presence of python testing code