Refactored test to a testCase instead of describe.