created a unit test for https://github.com/Project60/sepa_dd/issues/190
improved unit test
fixed https://github.com/Project60/sepa_dd/issues/190