Fixed spec helper to allow specs to run in any mode if it is already set