added test for lower and upper battery bounds