tests out parameters for width and height