Fixes test count. Removes generator from export.