transaction test and method working.