Add test module with different errors depending on puppet version