add some unit tests,
Inspection changes