improved "test" system
simplification
added a way to know if there are targets