Simplified tests with a new assertion type
Fixed some bugs related to percentage x/y/w/h options