input validation and write tests to ensure that invalid parameters are rejected.Referenced in:security-and-testing-strategies-for-MERN-stackAll notes