Add test to ensure style is undefined if run properties aren't present
Default styleName to null
Tidy up tests