Add simple tests for LabelsUsingCapitals, refactored metric.
Add ant test target and travis xml.