fix serialNumberServiceTest error
fix some test cases
fix some error