sql server transaction test solution