Fixed subgenerators when not testing JS