updated tests and changed the resize listener to only create a builder
if it's necessary. also added exception to the setName method to make
sure it wont be called when locked