Many clients want to use JS to test things. A first-class library that supports this use case would be a big convenience and would avoid many clients implementing basically the same thing over and over.