Unit tests and reloading page when parameters change