Refactored specs for entry model

Added specs for model validations