Fixing some errors in build.xml & adding travis test script

@robertcannon, a commit directly to master, but this should allow a test
to run on travis using your fixed test class