adding basic testing
more testable interface for probes
minor changes to cli