Run `npm test` and fix files to pass tests