add client-side test