Python parser tests