Added tests and updated gulpfile for original version 1.1.2

Hi again,

hopefully I got it right this time. I explicitly did not touch the actual library code but only the build related stuff.

Because I didn't know how to fork a current version of your repo, I used version 1.1.2 which was already in my fork that I made in May or so. Tests run fine, hopefully in 1.1.4 as well.

If there's a problem, let me know.