#000| adding unit tests for RestPODService and refactoring validation in POD model