Fix the test case for units.

- Removed Assert.Inconclusive
- Updated the validation code.