added client-side tests