I recommend tests, but LGTM.
Thanks for the review, I'm going to merge as is as the entire project has no unit-tests (cf ticket: #13).
Pull-Request has been merged by pingou