Warn when using hyphenated style property names

Fixes #932 
Ah right. I only found `spyOn` later and tried using mocks at first. Will remove.