test the jquery validate