Double Checked Testing Cases and Updated Some Unit Tests with Asserts.

Signed-off-by: fisherjk <John@John-PC>