test server side validation