I would add some tests to check this kind of behaviour :)
It should not be that hard