Unit tests for console DisplayError method