Move tests to project root and make "npm test" work while at it