Retrying tests max three times

Due some errors which occur sometime