Warn if empty rule is used.

Until now this was just ignored and oh.prettifyValue just return
the corrected value.
Fixed bug in test framework. Ignored tests where counted as failed.