Added validation in new_flavor method and unit tests for new_flavor,delete_flavor...

No match.