Fixed all unit tests

Reviewed By: Nukul Bhasin <nbhasin@rim.com>
Tested By: Jeffrey Heifetz <jheifetz@rim.com>