Testing Titanium with Jasmine and Hooks