Tests and error handling.