Add pattern to test discover. Better subclassing