Fixed tests to support 'unit' attribute for Rack capacity