created duplicate calcfunctions file for mocha tests. mocha tests kept failing when tried to use same file for front-end and back-end tests
renamed tests/ directory to test/