fixed all tests but mvefTest.js, need to check if my R thing is right