test added, not passing
test passing, exception throwed
test null periodo added, not passing
test passing
refactoring: using IllegalArgumentException instead of Exception