Tests for the console.count and console.countReset APIs.