Fix facility tests and remove console.log lines