make test less strict, previous behaviour was to throw, so ok() is a sufficient assertion. Old test does not work on simulated iOS 5 or phantomJS