Fixed syntax issues in schedule tests