Fixing missing use statement in App
fixing PHPUnit tests
Merge pull request #1 from khamer/master

PHPUnit tests and a small fix