Adding tests to the project, although no tests are actually being committed right now. PHPUnit for php and Karma/Jasmine for the JS.