adding options for width and hight, improving the tests against broken position values
Authored by: ruckert 2016-12-20
Parent: [r646]
Child: [r648]