(MODULES-796) Fix policy ipsec options

Adds tests and closes #351