Test SPA (Single page application) in using React