fixed test use cases.