fixed crudspecs and unit tests