Could you add a test case for this method?