Issue 234

This should fix Issue #234. The detecting rules and 2 tests are added.