client-side unit tests