Adds initial testing and fixes shouldComponentUpdate bugs