[WIP] [popup] add specs for calcPossibleDrawingParams

Fixes #1006
Is it just duplicating calculations from testing method? Does it right?

p.s. I think it does work in browsers if `should` exists in `Object.prototype`. There is no difference between spaces and line breaks so it should work.