wrote a test case for 5890 and made it pass