Bug 5549 : Fixing the test to only run if the test data exists