Add mocha tests for minimize functions
Add mocha tests for euclidean norm function