[WIP] [popup] add specs for calcPossibleDrawingParams

Fixes #1006
Does it should? I thought these specs should be executed under phantomjs only.

Probably I misunderstood an issue. That's why I've asked about clarifying.