Add test to prevent regresions