test case for adopt/locate
import fix
test adopt/locate functionality
giving ack preference over re-tx of data-pkt
pkt_count overflow fix
minor changees