Switch to nodeunit for tests, Vow for promises