added unit tests to Detector
travis should use 5.3 instead of 5.3.3