NH-3404
Unit tests
Merge pull request #295 from rjperes/NH-3404

NH-3404
NH-3110 - Add polymorphism support to Mapping-by-Code