updates mocha tests for product controller