Move tests to project root and make "npm test" work