Testing for client side validation