phantomjs test fix and findElementImmediately fix

- fixing the phantomjs test to work in Windows
- changing the findElementImmediately() to be looking for the element (not elements). This is done since SmartGWT does not support find multiple elements and causes the error.