make custom jasmine helpers take a size parameter