tests: find out test modules automatically