Unit conversion tests