Removed leading zeros of line codes, and fixed unit test.