nagiosgen: Add various tests

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>