Add test for trail option