moved to mocha/chai for testing