Include test suite using qunit

Also include test option in the makefile.