FIX: inverse_transform; tests