Rerender of attributes have different options

Rerender function was calling resolve with a different set of options to the first time around (missing `element` and `attrName`). Added a couple of simple checks to an existing test to make sure it functions as expected.