Fix nosetests for legacy python version.

Signed-off-by: Siddharth Vinothkumar <siddharth.vinothkumar@citrix.com>