Removed assertion which was incompatible with groovy 2.3+