Add discover(), discover_item(), "test suite" and "test factory".

Signed-off-by: Rudá Moura <rmoura@redhat.com>