working on integration test to test detectors directly
working detector test with fake time etc