implemented testCanAcceptTrade