Updating travis/composer and adding basic test cases.