Add missing tests

Here are the missing tests of my previous pull request…
Sorry for the inconvenience.