Added test for different sized elements