1. added function to add zeroes to string where they are needed
2. added additional tests
fixed bugs in upload_data module