passes 2 mocha tests