[Python Trik Test] Added stress test function