Tests for jsnorm. Some documentation in tscore.