Convert from exports to describe for mocha tests