add more client side tests with chai