Ref #383. Fixed the ValidateBehaviorTest. (It did generate two entries w...

...ith same pk)