Seeing if it's possible to use jasmine matchers to perform validation on client and server