upgraded to React v0.12.0, tests updated