added testing functionality on the behalf of mfsi-sunil