Adding testQuick for retry of failed tests
moved logic to separate file