added bounds tests