issue #182 - fixed client-side unit tests