Fix a warning
Testcases for BlackBerry (both legacy and BB10)