Added a test for the WEIGHT command