Fix NullPointerException on argument wich empty collection or collextion equals null. Add test.