Improve tests and error handling for ICRF transformation.