partial sinonJS jasmine helpers