Testing mongoose validations