bound checking in messenger testing