Remove element dimensions from Widget tests