wrote tests and added validation to make sure title and description aren't empty