StandAlone and yarn mode unit tests