Code refactoring
Removed useless class PrimaryKeyGeneratorTyp
Added Unit Test