improve trails tests