tests added in xbee_api. Integration tests added.