Testing an isomorphic React application