Changed npm script `check` to include tests