move similar tests into support method
check valid tags for end_time, issue #34