NASCAR revises testing rules