Changed verification of spec to be compatible with selenium