add first PHPUnit tests
fix one include path
configure PHPUnit
update JS and fix JSHint error