describe('Support module', function () {
  var S = GameOfLife.Support;

  describe('For parsing canvas', function () {
    it('throws InvalidArgument if given other than canvas element', function () {
      expect(function () {
        S.parseCanvas($('<p>foo</p>'));
      }).toThrow(new S.InvalidArgument('Not a canvas element'));
    });
  });
});

@@ -81,20 +81,23 @@
 be('For 
-pars
+validat
 ing canv
@@ -166,16 +166,18 @@
 er than 
+a 
 canvas e
@@ -240,12 +240,15 @@
   S.
-pars
+validat
 eCan
@@ -266,16 +266,19 @@
 oo%3C/p%3E')
+%5B0%5D
 );%0A     
@@ -344,16 +344,187 @@
 %0A    %7D);
+%0A%0A    it('returns the given element if the element is a canvas', function () %7B%0A      expect(S.validateCanvas($('%3Ccanvas%3E%3C/canvas%3E')%5B0%5D).getContext).toBeFunction();%0A    %7D);
 %0A  %7D);%0A%7D

Add unit tests for canvas validation