updated react framework and wrote some tests