wrote testcase for storage class and made it pass