Some widely used Jasmine helpers