Fix bug in client side group test spec logic resulting from CSS inclusion

Also fix filename for timestamped screenshots to be filesystem compliant