added test for add function from calcfunctions.js file