Updated Tests from Transaction and throw a Exception in the constructor
if there are wrong parameters