mtruong unit tests