tests: Fixed indentation in tests.py

PEP-8 recommends use spaces instead of tabs
rift: Changed url for update-bucket

New signature is /update-bucket/directory/bucket