Added input validation with express-validator
Added tests for data API endpoint