added test to show transaction working