add test for width and height