Add test_transferlogic