How to do a test transaction