tranaction unit tests