var assert = require('assert');
var isImportant = require('..');

var importantValues = [
  'blue !important;',
  'thin solid #fafafa !important'
];

var unimportantValues = [
  'green',
  'thin solid #fafafa',
  'url(http://foo.bar/img.jpg)'
]

describe('is-important', function() {

  it('should return true when !important', function() {
    importantValues.forEach(function(importantValue) {
      assert.ok(isImportant(importantValue));
    });
  });

  it('should return false when not !important', function() {
    unimportantValues.forEach(function(unimportantValue) {
      assert.ok(!isImportant(unimportantValue));
    });
  });
});

@@ -138,16 +138,44 @@
 portant'
+,%0A  'transparent !important'
 %0A%5D;%0A%0Avar
@@ -260,15 +260,22 @@
 r/im
-g
+portant
 .jpg)'
+,
 %0A%5D%0A%0A

Add a few more test cases