common api for ScalaTest FreeSpec and path.FreeSpec