I have gone through a number posts on stackoverflow and numerous articles about Unit Tests. I am just trying to figure out that what I have understood is right.
Wait, by JS you mean JavaScript? I assume you are referring to client side validation then?
You should never assume the client validates anything when building a website. JavaScript can be disabled, pages can be altered or faked, etc.