filter-empty-values module code cleaned, created unit test for the module