UPDATE Costlocation Schema validation and Mocha testing