ported test to mocha. added grunt file