Why not stick this in your tests `custom_setup: function(api) { ... }` handler?