fixed client-side test