ha2: python test implementation + better building when targeting student sources