Creating flavor
diff --git a/xos/tests/api/hooks.py b/xos/tests/api/hooks.py
index 5d0da83..60440e0 100644
--- a/xos/tests/api/hooks.py
+++ b/xos/tests/api/hooks.py
@@ -54,6 +54,9 @@
     for s in AddressPool.objects.all():
         s.delete(purge=True)
 
+    for s in Flavor.objects.all():
+        s.delete(purge=True)
+
     # print 'DB Cleaned'
 
 
@@ -61,6 +64,11 @@
 
     cleanDB()
 
+    # create flavors
+    small = Flavor()
+    small.name = "m1.small"
+    small.save()
+
     # load user
     user = User.objects.get(email="padmin@vicci.org")