Adds test for shaValidator.js