Modify travis and add phpunit tests