add a test to make sure invalid time group by interval don't crash the server