Fix specs for empty lists
Merge pull request #2 from puzza007/dialyzer

Fix specs for empty lists