Test groovy assertion