Updating the terminology of the test_weights.py and empty.py files