Completely restructured testing, now using test driven method with Mocha