Fixed test from webdriverjs to webdriverio syntax

The value of err used to be null in webdriverjs, but I see that webdriverio returns undefined.
Please note that client.execute still returns a null error - quite confusing
CSS color used to be a string in webdriverjs, but now webdriverio returns an obj, which must be opened to extract the value prop.