Add test for using groovy time category