client side unit tests