added generation tests