Optimized blackberry.invoke test-app tests
updated a test case to prevent being skipped

Reviewed by Jeffrey Heifetz <jheifetz@blackberry.com>