[py-2014] tests for alternating-generator added