Fixed product enabling for tests which depend on enabled products.
diff --git a/component-test/src/main/java/io/mifos/portfolio/TestCommands.java b/component-test/src/main/java/io/mifos/portfolio/TestCommands.java
index b30ded6..2485ae3 100644
--- a/component-test/src/main/java/io/mifos/portfolio/TestCommands.java
+++ b/component-test/src/main/java/io/mifos/portfolio/TestCommands.java
@@ -35,7 +35,7 @@
 public class TestCommands extends AbstractPortfolioTest {
   @Test
   public void testHappyWorkflow() throws InterruptedException {
-    final Product product = createProduct();
+    final Product product = createAndEnableProduct();
     final Case customerCase = createCase(product.getIdentifier());
 
     checkNextActionsCorrect(product.getIdentifier(), customerCase.getIdentifier(), Action.OPEN);
@@ -69,7 +69,7 @@
 
   @Test
   public void testBadCustomerWorkflow() throws InterruptedException {
-    final Product product = createProduct();
+    final Product product = createAndEnableProduct();
     final Case customerCase = createCase(product.getIdentifier());
 
     checkNextActionsCorrect(product.getIdentifier(), customerCase.getIdentifier(), Action.OPEN);
@@ -93,7 +93,7 @@
 
   @Test
   public void testDisburseBeforeApproval() throws InterruptedException {
-    final Product product = createProduct();
+    final Product product = createAndEnableProduct();
     final Case customerCase = createCase(product.getIdentifier());
 
     checkStateTransfer(product.getIdentifier(), customerCase.getIdentifier(), Action.OPEN, OPEN_INDIVIDUALLOAN_CASE, Case.State.PENDING);
diff --git a/component-test/src/main/java/io/mifos/portfolio/TestIndividualLoans.java b/component-test/src/main/java/io/mifos/portfolio/TestIndividualLoans.java
index 7a3e492..62e6f39 100644
--- a/component-test/src/main/java/io/mifos/portfolio/TestIndividualLoans.java
+++ b/component-test/src/main/java/io/mifos/portfolio/TestIndividualLoans.java
@@ -37,7 +37,7 @@
 
   @Test
   public void shouldReturnIndividualLoansCases() throws InterruptedException {
-    final Product product = createProduct();
+    final Product product = createAndEnableProduct();
     final Set<String> susisCaseIdentifiers = new HashSet<>();
     final Set<String> georgeCaseIdentifiers = new HashSet<>();
     for (int i = 0; i < 101; i++) {
@@ -75,7 +75,7 @@
 
   @Test
   public void shouldReturnSmallPaymentPlan() throws InterruptedException {
-    final Product product = createProduct();
+    final Product product = createAndEnableProduct();
     final Case caseInstance = createCase(product.getIdentifier());
 
     final IndividualLending individualLending = this.individualLending;