Add pod verification unittest

Add unittest to spot issues in the pod code