Prepare client-side testing environment