Tests for client side code