adding mocha tests to validate files re generated