Finished server-side validation and its testing suite