More client-side unit tests