added working react tests