test get last transaction