implemented qunit, added tests.js & qunit.html & wrote first tests for board.js