Unittest flavor list

Add unit test for flavor list.
In python 3, a lot of things return generators instead of lists. You probably need to wrap self.resp.body.keys() with list(self.resp.body.keys) to get the travis tests to pass.