console.error for tests