fixed package.json test field, fixed errors