add general generator test class