Added test for invalid width and height properties (issue #3)