Added tests for padding zeroes in range
fixed redefinition