improved python testing application