Some minor changes to test cases so that they work in the sandboxed app environment of BlackBerry