Currently there is a test that asks whether or not there are occurrences, after having formatted the motif. This makes no sense. The test for whether a motif is valid should be about the motif, and in any case should not wait until after having completely built its formatted output.