Add some test unit and fix reputation point/level